package com.tbit.uqbike.webmanager.dao.log;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tbit.config.datasource.DataSource;
import com.tbit.uqbike.object.pojo.UpKeepLog;
import com.tbit.uqbike.object.pojo.vo.UpKeepLogQueryReqVO;
import com.tbit.uqbike.object.pojo.vo.UpKeepLogRespVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yao
 * @since 2025/1/23 9:56
 */
@DS(DataSource.LOG)
public interface UpKeepLogDao extends BaseMapper<UpKeepLog> {

    Page<UpKeepLogRespVO> selectPage(IPage<UpKeepLogRespVO> page, @Param("reqVO") UpKeepLogQueryReqVO reqVO);

    List<UpKeepLogRespVO> selectDateList(@Param("reqVO") UpKeepLogQueryReqVO reqVO);

    Page<UpKeepLogRespVO> selectCountPage(IPage<UpKeepLogRespVO> page, @Param("reqVO") UpKeepLogQueryReqVO reqVO);
}
